aspect = 4.0/2.2
scale = 5

set terminal pngcairo font "Arial, 12" enhanced size 600, 400



#set size square


set key top right
set grid lt 1 lc rgb "#EDEDED"


set ylabel "ek [..]" offset 1.5
set xlabel "steps" offset 0,0.4
#set output 'md911cs.ek.100.png'
#plot [:100]\
#"md911cs.e.txt" u 1:3 w l t ""


set xlabel "steps [1000]" offset 0,0.4
set output 'md911cs.ek.png'
plot\
"md911cs.e.txt" u ($1/1000):3 w l t "",\
"" u ($1/1000):3:(1) smooth acspline w l lt 3 lc 2 lw 3 t ""

set format y "%.1f"
set ylabel "(e-e0)/e0  [10^{-5}]" offset 0,0.4
set output 'md911cs.e_err.png'
plot\
"md911cs.e.txt" u ($1/1000):($6/1e-5) w l lc 8 t "",\
"" u ($1/1000):($6/1e-5):(1) smooth acspline w l lt 3 lc 2 lw 3 t ""

set format y "%g"
set ylabel "ep [..]"  offset 0,0.4
set output 'md911cs.ep.png'
plot\
"md911cs.e.txt" u ($1/1000):($4) w l lc 2 t "",\
"" u ($1/1000):($4):(1) smooth acspline w l lt 3 lc 6 lw 3 t ""




set output 'test.png'
test